package com.tristen.gulimall.ware.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author admin
 * @version 1.0.0
 * @ClassName ProductFeignService.java
 * @Description TODO
 * @createTime 2022年01月13日 21:54:00
 */
@FeignClient(value = "gulimall-product")
public interface ProductFeignService {

    @GetMapping("/product/skuinfo/getSkuName")
    public String getSkuName(@RequestParam("skuId") Long skuId);
}
